<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>元素显示类型-块元素</title>
    <style>
        /* display:block,list-item */
        div{
            width: 200px;
            height: 200px;
            background: yellow;
        }
        ul{
            width: 200px;
            height: 200px;
            background: red;
        }
    </style>
</head>
<body>
    <div></div>
    <ul>
        <li>1</li>
        <li>2</li>
    </ul>
    <p>qwwwwwww</p>
</body>
</html>